package cn.com.infosec.ra.service.dictionary;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.com.infosec.ra.dao.dictionarydao.DictionaryDao;
import cn.com.infosec.ra.entity.Dictionary;

@Service
public class DicServiceImpl implements DicService {
	
	@Resource
	private DictionaryDao dictionaryDao;
	
	@Override
	public List<Dictionary> getDicListBySid(int dictionaryCardtype) {
		return dictionaryDao.getDicListBySid(dictionaryCardtype);
	}

	@Override
	public Dictionary getDicListBySidAndId(int sid, int id) {
		return dictionaryDao.getDicListBySidAndId(sid,id);
	}

}
